package com.gold.service;

import java.util.List;
import java.util.Map;

import com.gold.entity.Expense;
import com.gold.myexception.Myexception;

public interface ExpenseService {
	public List<Expense> selectExpenseByUserId(int userId);

	public void insertExpense(Expense expense);

	public void updateExpense(Expense expense);

	public void buyGame(Map<String, String> map) throws Myexception;

}
